<?php
require('config.php');

$ff = new Friendfeed($key, $secret);
$tokens = $ff->fetch_oauth_request_token();
$authurl = $ff->get_oauth_authentication_url($tokens);

session_start();
$_SESSION['oauth_token_secret'] = $tokens['oauth_token_secret'];
$_SESSION['oauth_token'] = $tokens['oauth_token'];

header('Location: '.$authurl);


